<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html>
<html>
<head>
	<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
	<meta name="keywords" content="<?php echo $SEO['keyword'];?>">
    <meta name="description" content="<?php echo $SEO['description'];?>">
	<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>dianjing/index.css">
	<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>dianjing/flexslider.css">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />

     <script src="http://haiqiancun.com/file/demo/custom.modernizr.js"></script>  
</head>
<body>
<!-- <a href="http://www.chinaz.com/game/esports/"></a> -->
<div class='header'>
	<div class="container " style="">
		<div class='logo fl'>
			<a href=""><img src="<?php echo IMG_PATH;?>dianjing/logo.png"></a>
		</div>
		<div class='nav fr'>
			<ul class='fr'>
				<?php $n=1;if(is_array(subcat(0,0,0,$siteid))) foreach(subcat(0,0,0,$siteid) AS $v) { ?>
                <?php $child=subcat($v['catid'],0,0,$siteid)?>
				<?php if($v['catid']!=7) { ?>
                <li class='fl'>
				<a href="<?php echo $v['url'];?>"><?php echo $v['catname'];?><?php if(count($child)>0) { ?><i class='corner icon'></i><?php } ?></a>
				<?php if(count($child)>0) { ?>
                <dl>
                	<?php $n=1;if(is_array($child)) foreach($child AS $vv) { ?>
                	<dt><a href="<?php echo $vv['url'];?>"><?php echo $vv['catname'];?></a></dt>
                	<?php $n++;}unset($n); ?>
                </dl>
				<?php } ?>
				
			</li>

				<?php } ?>
				<?php $n++;}unset($n); ?>
				<div class='fl' style="position:relative;width:200px">
					<form action="<?php echo APP_PATH;?>index.php" method="get" target="_blank">
				<input type="hidden" name="m" value="search"/>
				<input type="hidden" name="c" value="index"/>
				<input type="hidden" name="a" value="init"/>
				<input type="hidden" name="typeid" value="1" id="typeid"/>
				<input type="hidden" name="siteid" value="1" id="siteid"/>
                <input placeholder='输入搜索内容.....' class='search fr' name='q'>
				<input type='submit'class='search-button fl' value="Go">
            </form>
					
				</div>
				<!-- <li class='fl' style="">
				<a href="">首页<i class='corner icon'></i></a>
                <dl>
                	<dt><a href="">wang</a></dt>
                	<dt><a href="">英雄联盟</a></dt>
                	<dt><a href="">英雄联盟</a></dt>
                	<dt><a href="">英雄</a></dt>
                </dl>
				</li>
				<li class='fl'>
				<a href="">首页<i class='corner icon'></i></a></li>
               <li class='fl'>
				<a href="">首页<i class='corner icon'></i></a></li> -->
			</ul>
		</div>
	</div>
</div>
<div class="position word" style="">
	
	<div class='container' style="text-algin:left">
		<span class='fl'>
			<i class='icon icon-home'></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当前位置:
		</span>&nbsp;&nbsp;&nbsp;
		<a href="<?php echo siteurl($siteid);?>">网站首页</a>
		<span>></span>
		<!-- <a href="#">电竞游戏</a>
		<span>></span> -->
		<?php echo catpos($catid);?>
		<?php if($_GET['a']=='show') { ?>
		<span>正文</span>
        <?php } elseif ($_GET['c']=='tag') { ?>
        <span>标签</span>
        <?php } elseif ($_GET['m']=='search') { ?>
        <span>搜索结果</span>
		<?php } ?>
	</div>
</div>
<!-- <div class='search'>
	
	<div class='search-mask'></div>

	<div class='search-main'>
	<a href="javascript:void(0)" class='fr'>x</a>
		
		<form action="<?php echo APP_PATH;?>index.php" method="get" target="_blank">
				<input type="hidden" name="m" value="search"/>
				<input type="hidden" name="c" value="index"/>
				<input type="hidden" name="a" value="init"/>
				<input type="hidden" name="typeid" value="1" id="typeid"/>
				<input type="hidden" name="siteid" value="1" id="siteid"/>
                <input	class='search-input' placeholder="输入关键字" name='q'>
            </form>
	</div>
</div> -->